package com.archstoday.common;

import com.archstoday.BaseApp;

import java.util.UUID;

public class AsRes {

    private static AsRes instance;

    public static AsRes getInstance() {
        if (instance == null) {
            instance = new AsRes();
        }
        return instance;
    }

    public String getUrl(String reqType) {
        return BaseApp.BASE_URL + reqType + "?uuid=" + UUID.randomUUID().toString();
    }

    public static final String REFRESH = "down";
    public static final String LOADMORE = "up";

    // 获取验证码
    public static final String GET_CODE = "user/getVerifyCode";
    // 登录
    public static final String LOGIN = "user/login";
    // 获取用户信息
    public static final String GET_USER_INFO = "user/getUserInfo";
    // 方案列表
    public static final String GET_SCHEME_LIST = "solution/list";
    // 方案详情
    public static final String GET_SCHEME_DETAIL = "solution/detail";
    // 要闻列表
    public static final String GET_NEWS_LIST = "news/list";
    // 要闻详情
    public static final String GET_NEWS_DETAILS = "news/detail";
    // 招投标列表
    public static final String GET_RECRUIT_LIST = "recruit/list";
    // 招投标详情
    public static final String GET_RECRUIT_DETAILS = "recruit/detail";
    // 工程实务列表
    public static final String GET_ENGINEER_LIST = "ep/list";
    // 工程实务详情
    public static final String GET_ENGINEER_DETAILS = "ep/detail";
    // 筛选条件
    public static final String GET_SELECT_BASE = "select/base";
    // 升级接口
    public static final String GET_UPDATE = "app/update";
    // 用户反馈接口
    public static final String GET_FEEDBACK = "user/report";
    // 点赞接口
    public static final String EDIT_LIKE = "article/like/edit";
    // 关注作者
    public static final String FOCUS_AUTHOR = "article/like/user/edit";
    // 搜索接口
    public static final String SEARCH = "search";
    // 分享接口
    public static final String SHARE = "app/share";
    // 收藏列表
    public static final String LIKE_LIST = "article/like/articlelist";
    // 用户关注列表
    public static final String FOLLOW_LIST = "user/like/userlist";
    // 评论列表-我回复的
    public static final String GET_COMMENT_FROM_ME = "article/comment/articlelist";
    // 评论列表-回复我的
    public static final String GET_COMMENT_TO_ME = "article/comment/replylist";
    // 详情页-评论
    public static final String TOPIC_DETAIL_COMMENT = "article/comment/list";
    // 详情页-添加评论
    public static final String TOPIC_COMMIT_COMMENT = "article/comment/commit";
    // 省市区
    public static final String GET_REGION = "select/getRegion";
    // 用户信息修改
    public static final String MODIFY_USER_INFO = "user/userInfo/modify";
    // 用户上传头像
    public static final String UPLOAD_USER_HEAD = "user/header/upload";
    // 用户订阅列表
    public static final String SUBSCRIBE_LIST = "user/subscribe/articlelist";
    // 用户信息获取接口
    public static final String GET_USER_ARTICLE = "article/getArticleUserInfo";
    // 新增文章列表
    public static final String SEND_ADD_ARTICLE = "news/add";
    // 话题订阅
    public static final String ARTICLE_SUBSCRIBE = "article/subscribe/edit";
    // 数据字典
    public static final String DICT_GET = "dict/search";

}